#!/usr/bin/env node

var resolve = require('path').resolve
  , glagol  = require('glagol')
  , server  = glagol(resolve(__dirname, 'server'))
  , options = glagol(resolve(__dirname, 'options'))

server.add(options);

module.exports = server;
if (module === require.main) server().main();
